/*TopArea.module.css*/
.App-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.App-top-title-img {
    border-radius: 10px;
    margin-right: 10px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 1);
}

.App-top-title-img:hover {
    transform: scale(1.07);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.App-top-title-subtitle {
    font-size: 38px;
    margin: 0;
}

.App-top-title {
    display: flex;
    align-items: center;
}

.App-top-icon {
    width: 35px;
    height: 35px;
}

.App-top-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.App-top-title-subtitle-tip {
    margin: 0;
    font-style: italic;
    color: rgb(81, 81, 81);
}

.App-top-title-subtitle1 {
    font-family: 'Comic Sans MS', cursive;
    background: linear-gradient(to right, #00fff2, #000035);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 美化后的按钮组样式 */
.App-top-group {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: 600px;
}

.App-top-group-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 16px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4ecfa 100%);
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    /* 移除移动端默认点击高亮 */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    outline: none;
}

.App-top-group-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.App-top-group-button:hover {
    background: linear-gradient(135deg, #e4ecfa 0%, #d4e1f5 100%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.App-top-group-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.App-top-group-button-icon {
    width: 16px;
    height: 16px;
}

/* 铃铛图标样式 */
.App-top-group-button-icon:last-child {
    width: 20px;
    height: 20px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    /* 移除移动端默认点击高亮 */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    outline: none;
}

.App-top-group-button-icon:last-child:hover {
    color: #333;
    transform: scale(1.1);
}

.App-top-group-button {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
/* 移动端适配 */
@media (max-width: 768px) {
    .App-top {
        flex-wrap: wrap;
        padding: 8px 12px;
    }

    .App-top-title-subtitle {
        font-size: 24px;
    }

    .App-top-title-subtitle-tip {
        display: none;
    }

    .App-top-title-img {
        width: 35px;
        height: 35px;
    }

    .App-top-group {
        order: 3;
        width: 100%;
        margin-top: 10px;
        margin-left: 0;
        justify-content: space-around;
    }

    .App-top-group-button {
        width: auto;
        flex: 1;
        max-width: 120px;
        height: 32px;
        padding: 0 8px;
        font-size: 12px;
    }

    .App-top-group-button-icon {
        width: 14px;
        height: 14px;
    }

    .App-top-user {
        margin-left: auto;
    }

    /* 为所有交互元素添加点击高亮移除 */
    .App-top a,
    .App-top button,
    .App-top [role="button"],
    .App-top [tabindex] {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
        outline: none;
    }

    /* 移动端专用点击反馈效果 */
    .App-top button:active,
    .App-top a:active {
        background-color: rgba(0, 0, 0, 0.08);
        transform: scale(0.98);
        transition: all 0.1s ease;
    }
}    